<?php
/* @var $this MenuController */
/* @var $dataProvider CActiveDataProvider */

?>
<h1>Menu</h1>
<?php
$this->widget('zii.widgets.grid.CGridView', array(
	'id'=>'menu-grid',
	'dataProvider'=>$model->search(),
	'selectableRows'=>4,
	'filter'=>$model,
	'columns'=>array(
		array(
			'name'=>'id',
		),
		array(
			'name'=>'title',
		),
		array(
			'name'=>'parent',
			'value'=>'$data->parent',
		),
		array(
			'class'=>'CButtonColumn',
			'template' => '{update}{delete} ',
		),
))); 
?>
